/**
 *  业态面积调整 com-format-adjust
 */

import React, {Component} from 'react';
import {Tabs, Row, Col, Button} from 'antd';
import {shallowCompare} from '../utils';

class ComFormatAdjust extends Component {

    static propTypes = {
        record: React.PropTypes.object,//点击的面积数据
        onHideModal: React.PropTypes.func,//对外接口 操作完成时 关闭模态窗口
    };

    static defaultProps = {
        record: {},
        onHideModal: () => {
        },
    };

    state = {
        buildingData: [],//楼栋数据，包括可选择和不可选择的楼栋
        buildingHeaderData: [],//楼栋面积表头
        buildingDataSource: [],//楼栋面积数据
        formatHeaderData: [],//业态面积表头
        formatDataSource: [],//业态面积数据
        loading: false,
    };

    // shouldComponentUpdate(nextProps, nextState) {
    //     return shallowCompare(this, nextProps, nextState);
    // }

    render() {
        return (
            <div>
                业态面积调整
            </div>
        );
    };
}

export default ComFormatAdjust;